This project shows two basic scenarios for unit testing in cocoa applications. The project is designed to run with Xcode 3 and contains sample configuration for running and debugging unit tests.

The first one (testCalculator) is a synchronous test to test whether a method call returns the correct value.
The second one (testCloundCalculator) is a test for an asynchronous method call.

Running the unit tests:
* select the target 'UnitTests'
* build
* failing tests are shown in the build results

Debugging the unit tests:
* select the target 'UnitTestsDebug'
* select the excecutable 'otest debug'
* insert some breakpoints inside the test methods
* hit 'Build and Debug'
* the debugger should now stop at your breakpoints


NOTE: If you're using Xcode 4 select the target 'UnitTests' and start the tests with 'Product -> Test'. To debug the tests simply insert breakpoints and run the tests.